#ifndef _USER_USART_H_
#define _USER_USART_H_


#define USART_BUFF_LEN     256

extern unsigned char lpuart_rx_buff[USART_BUFF_LEN];
extern unsigned char lpuart_tx_buff[USART_BUFF_LEN];
extern unsigned char lpuart_rx_byte;

extern unsigned char uart1_rx_buff[USART_BUFF_LEN];
extern unsigned char uart1_tx_buff[USART_BUFF_LEN];
extern unsigned char uart1_rx_byte;

extern void user_uart_init(void);
extern void lpuart_send_one_byte(unsigned char byte);
extern void lpuart_send_byte(unsigned char *p_byte,unsigned short len);
extern void lpuart_recv_byte(unsigned char *p_byte,unsigned short len);
extern void _lpuart_irq_handler(void);

#endif


